﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My Profile</title>
<link href="style/loginmodule2.css" rel="stylesheet" type="text/css" />
</head>
<body>
<center>
<div class="header">
<h1>Commands</h1>
</div>
<div class="navbar">
<?php
if($_SESSION["bejelentkezve"] != '1') {
echo "<a href='register-form.php'><button type='button'><img src='style/images/pickaxe.png'></img> Register</button></a>";
echo "<a href='login.php'><button type='button'><img src='style/images/wood.png'></img> Login</button></a>";
}
?>
<a href="commands.php"><button type="button"><img src="style/images/commands.png"></img> Commands</button></a>
<?php
if($_SESSION["bejelentkezve"] == '1') {
echo "<a href='vote.php'><button type='submit'><img src='style/images/vote.png'></img> Vote</center></button></a>";
}
?>
</div>
</center>
<div class="sidebar">
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FRevolution-MineCraft-Server%2F226060457443577&amp;width=225&amp;colorscheme=dark&amp;show_faces=false&amp;border_color&amp;stream=true&amp;header=true&amp;height=427" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:225px; height:427px;" allowTransparency="true"></iframe>
</div>
<div class="tartalom">
<p>&nbsp;</p>
<img src="logo1.gif"></img>
<form id="loginForm" name="loginForm" method="post" action="login-exec.php">
  <table width="300" border="0" align="center" cellpadding="2" cellspacing="0">
    <tr>
      <td width="112"><b>Login</b></td>
      <td width="188"><input name="login" type="text" class="textfield" id="login" /></td>
    </tr>
    <tr>
      <td><b>Password</b></td>
      <td><input name="password" type="password" class="textfield" id="password" /></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td><input type="submit" name="Submit" value="Login" /></td>
    </tr>
  </table>
</form>
</div>
</body>
</html>
